package j06fanxing;
//键值对
/*
cat  age = 5;
age key，属性名，键名， 键
T
5，value，属性值，值，键值
 */

class Cat<K,T,V>{
    K k1;
    T t1;
    V v1;
}

class Dog{
    void f1(){
        System.out.println(111);
    }
}
public class J2 {
    public static void main(String[] args) {
        Cat<Integer,String,Character> c1 = new Cat<>();
        c1.k1 = 6;

        new Dog(){
            @Override
            void f1() {
                System.out.println(222);
            }
        }.f1();
    }
}
